package com.aaa.three.service;

import com.aaa.three.pojo.domain.AddRole;
import com.aaa.three.pojo.domain.AdminRolePermission;
import com.aaa.three.pojo.domain.RolePer;
import com.aaa.three.pojo.domain.UpdateRole;
import com.aaa.three.result.AjaxResult;

public interface AdminQueryRoleService {
    AjaxResult queryRole();


    AjaxResult getRole(int id);


    AjaxResult getPoption();


    AjaxResult querySOption(int id);


    /*AjaxResult getPermission();*/


    AjaxResult queryPermissionState(int id);


    AjaxResult queryPpermission();

    AjaxResult listPermission(int id);

    AjaxResult updatePer(RolePer rolePer);

    AjaxResult updateRoleInfo(AdminRolePermission adminRolePermission);


    AjaxResult addRole(AddRole addRole);

}
